﻿
<div class="modal fade" id="imgplay-dialog">
    <div class="modal-dialog">
        <div class="box box-success">
            <div class="box-header with-border">
                <h3 class="box-title">轮播信息</h3>
                <input type="text" style="display:none" id="nav-id" value="0" />
            </div>
            <!-- /.box-header -->
            <!-- form start -->
            <div class="form-horizontal">
                <div class="box-body">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">ID：</label>
                        <div class="col-sm-8">
                            <input type="text" value="0" class="form-control" id="img-id" readonly="readonly">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">大标题：</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" id="img-title" placeholder="大标题" required>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">副标题：</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" id="img-subhead" placeholder="副标题" required>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">图片：</label>
                        <div class="col-sm-5">
                            <div class="bg-section" id="img-url">
                               
                            </div>
                        </div>
                        <div class="col-sm-3">
                            <button type="button" class="btn btn-success btn-sm" Id="uploadFileBtn">上传图片</button>
                            <input type="file" style="display:none" />
                        </div>
                        <label class="control-label icon-sign"><i class="icon">*</i> 必填</label>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">跳转链接：</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" id="img-linkurl" placeholder="跳转链接" required>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">跳转方式：</label>
                        <div class="col-sm-8">
                            <select class="form-control select2"  style="width:200px">
                                <option value="0" >新窗口打开</option>
                                <option value="1" selected="selected">当前窗口打开</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">轮播顺序：</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" id="img-sort" placeholder="填写数字，从小到大" value="0" required>
                        </div>
                    </div> 
                </div>
                <!-- /.box-body -->
                <div class="box-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-info pull-right" onclick="save()">保存</button>
                </div>
                <!-- /.box-footer -->
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>
